<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<style type="text/css">
    @import url( css/Style.css );
</style>


<html:html>
    <title>JETS25JAN forums | Search Result</title> 
    <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
    <meta name='MSSmartTagsPreventParsing' content='TRUE' /> 
    <meta http-equiv='expires' content='-1' /> 
    <meta http-equiv= 'pragma' content='no-cache' /> 
    <meta name="robots" content="nofollow" /> 


    <script type="text/javascript"> 
        <!--
 
        function navHover(which)
        {					
            if (document.getElementById(which.id))
            {
                cur = document.getElementById(which.id).className;
		
                if (cur == 'buttonLarge')
                {
                    document.getElementById(which.id).className = 'buttonLargeHover'
                }
                else if (cur == 'buttonSmall')
                {
                    document.getElementById(which.id).className = 'buttonSmallHover'
                }
            }
        }
 
        function navReset(which)
        {					
            if (document.getElementById(which.id))
            {
                cur = document.getElementById(which.id).className;
		
                if (cur == 'buttonLargeHover')
                {
                    document.getElementById(which.id).className = 'buttonLarge'
                }
                else if (cur == 'buttonSmallHover')
                {
                    document.getElementById(which.id).className = 'buttonSmall'
                }
            }
        }
 
 
        function navJump(where)
        {
            window.location=where;
        }
        -->
    </script> 

</head>
<body onLoad="init()">
    <div id="loading" style="position:absolute; width:100%; text-align:center; top:300px;">
        <img src="images/Spinner2.gif" border=0></div>
    <script>
        var ld=(document.all);
        var ns4=document.layers;
        var ns6=document.getElementById&&!document.all;
        var ie4=document.all;
        if (ns4)
            ld=document.loading;
        else if (ns6)
            ld=document.getElementById("loading").style;
        else if (ie4)
            ld=document.all.loading.style;
        function init()
        {
            if(ns4){ld.visibility="hidden";}
            else if (ns6||ie4) ld.display="none";
        }
    </script>

    <div id='topBar'> 
        <div class='topBarLinks'> 


	Welcome <logic:notEmpty name="userBean" scope="session">
                <bean:write name="userBean" property="username"/>

                .&nbsp;&nbsp;&middot;&nbsp;&nbsp;
                <a href="userProfile.jsp">Profile</a>

            </logic:notEmpty>
            &nbsp;&nbsp <html:link action="/DisplayTopicAction.do">Home</html:link>
            &nbsp;&nbsp;&middot;&nbsp;&nbsp;
            <logic:notEmpty name="userBean" scope="session">
                <%-- <% session.setAttribute("userBean",null);
                 %>--%>
                <html:link page="/LogoutURL.do">Logout</html:link>
            </logic:notEmpty>

            &nbsp;&nbsp;&middot;&nbsp;&nbsp;
            <logic:notEmpty name="userBean" scope="session">
                <logic:greaterThan value="0" name="userBean" property="userprev">
                    <html:link page="/ModUserControl.do">Member List</html:link>
                </logic:greaterThan>
            </logic:notEmpty>

        </div> 
    </div> 

    <div id='pageheader'> 
        <table style="width:100%; height:50px;" border="0" cellpadding="0" cellspacing="0"> 
            <tr> 
                <td style="width:45%;"><a href="" title="CSS Drive forums"><img src="css/1.png" width="216" height="74" border="0" alt="ExpressionEngine Forums" /></a></td> 
                <td style="width:55%;" align="right" class="rightheader"> 




                    <html:form action="/LoginAction.do">
                        <div> 
                            <input type="hidden" name="XID" value="047f9870ceeff3414d0e5ef8b84f06c6ba86ff81" /> 
                            <input type="hidden" name="ACT" value="9" /> 
                            <input type="hidden" name="FROM" value="forum" /> 
                            <input type="hidden" name="mbase" value="http://www.cssdrive.com/index.php/forums/member/" /> 
                            <input type="hidden" name="board_id" value="1" /> 
                            <input type="hidden" name="RET" value="http://www.cssdrive.com/index.php/forums/member/" /> 
                            <input type="hidden" name="site_id" value="1" /> 
                        </div> 

                        <table cellpadding="0" cellspacing="4" border="0" align="right"> 
                            <tr> 
                                <td>Username</td> 
                                <td><html:text property="username"  ></html:text></td> 
                                <td><input type="checkbox" class="checkbox" name="auto_login" value="1" checked="checked" /> Remember Me?</td> 
                            </tr> 
                            <tr> 
                                <td>Password</td> 
                                <td><html:password property="password"></html:password></td> 
                                <td><input type="submit" class="submit" value="Login" />&nbsp; <a href="http://www.cssdrive.com/index.php/forums/member/forgot_password/">forgot password?</a>	</td> 
                            </tr> 
                        </table> 
                    </html:form>

                </td> 
            </tr> 
        </table> 
    </div> 

    <div id="subheader"> 

        <table style="width:100%;" border="0" cellpadding="0" cellspacing="0"> 
            <tr> 
                <td><div class="itempadbig"><div class="breadcrumb"><a href="http://www.cssdrive.com/index.php/forums/">Forum Home</a><span class="breadcrumbspacer">&nbsp;&nbsp;&gt;&nbsp;&nbsp;</span><a href="http://www.cssdrive.com/index.php/forums/member/profile/">Control Panel Home</a><span class="breadcrumbspacer">&nbsp;&nbsp;&gt;&nbsp;&nbsp;</span><span class="currentcrumb">Login</span></div></div></td> 

                <td align="right" valign="middle">



                    <html:form action="/Search.do"> 
                        <div> 
                            <input type="hidden" name="XID" value="82f0ac26bfac8a5c7ee2fb21ec9708902520d712" /> 
                            <input type="hidden" name="board_id" value="1" /> 
                            <input type="hidden" name="site_id" value="1" /> 
                        </div> 
                        <table border="0" cellpadding="0" cellspacing="0" align="right"> 
                            <tr> 
                                <td><div class="smallLinks"><b>Search</b>&nbsp;&nbsp;</div></td> 
                                <td><html:text property="search" size="20" maxlength="80" style="width:130px"></html:text></td> 
                                <td>&nbsp;<html:submit value="search"></html:submit></td> 
                            </tr> 
                        </table> 
                    </html:form></td> 



            </tr> 
        </table> 
    </div> 



    <div id="content"> 


        <html:form action="/Search.do">      

            <html:text property="search"></html:text><html:submit value="search"></html:submit>

            <table border="2" class="tableBorderLeft" cellpadding="0" cellspacing="0" border="0" style="width:100%;">          
                <tr>
                    <td class="profileHeadingBG"  align="center"><div class="tableHeading">Topic Name</div></td><td class="profileHeadingBG"  align="center"><div class="tableHeading">Section</div></td><td class="profileHeadingBG"  align="center"><div class="tableHeading">Creation Date</div></td><td class="profileHeadingBG" align="center"><div class="tableHeading">Number of Posts</div></td><td class="profileHeadingBG"  align="center"><div class="tableHeading">Creator</div></td></tr>
                    <logic:present name="Search">
                        <logic:iterate name="Search" property="topics" id="topic">
                        <tr><td class="tableCellTwo" style="width:30%;"><html:link action="/viewTopicAction.do" paramName="topic" paramProperty="topicid" paramId="topic"><bean:write name="topic" property="topicname"/></html:link></td>
                            <td class="tableCellTwo" style="width:20%;"><bean:write name="topic" property="sections.sectionname"/></td>
                            <td class="tableCellTwo" style="width:20%;"><bean:write name="topic" property="creationdate" format="dd/MM/yyyy"/></td>
                            <td class="tableCellTwo" style="width:15%;"><bean:write name="topic" property="numofposts" format="#"/></td>
                            <td class="tableCellTwo" style="width:15%;"><bean:write name="topic" property="jfMembers.username" /></td>

                        </tr>
                    </logic:iterate> 
                </logic:present>      
            </table>
        </html:form>  

    </div> 

    <center><p>Copyright (c) 2011 JETS25JAN INTAKE 31</p></center>

</div> 
</body>
</html:html>
